package cn.sofwin.day0107;

public class Test04 {
    public static void main(String[] args) {
        int year = 2015;
        double student = 2000;

        while(student <=10000){
            student *= 1.25;//
            year++;
        }

        System.out.println("到第" + year + "年人数达到10000人");
    }
}
